<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>注册成功</title>
    <link rel="stylesheet" href="../../libs/node_modules/bootstrap/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="../../style/common.css">
    <link rel="stylesheet" href="../../style/home/article.css">
    <link rel="stylesheet" href="../../style/login/register.css">

    <script src="../../libs/vue.js"></script>
	<script src="../../jsc/axios.min.js"></script>
    <script src="../../libs/jquery-3.2.1.min.js"></script>
    <script src="../../libs/layer-v3.1.1/layer/layer.js"></script>
    <!--<script src="js/system.js"></script>-->
</head>
<body>
<main id="app" v-cloak>
    <header-component></header-component>
    <navsearch-component></navsearch-component>
    <div class="content">
        <div class="register-box" style="margin-bottom: 0">
            <form action="" class="register-form">
                <div class="register-process" style="margin-bottom: 0rem">
                    <span>1</span>用户注册
                    <hr style="border:none;border-bottom:1px dashed #BFBFBF;height:1px;width: 8.94rem">
                    <span>2</span>完善信息
                    <hr style="border:none;border-bottom:1px dashed #BFBFBF;height:1px;width: 8.94rem">
                    <span class="active">√</span>注册成功
                </div>
                <div class="register-success" style="min-width: 17rem;width: auto">
                    <img src="../../static/images/成功(1).png" alt="">
                    <div class="success-tips">欢迎您，<span id="username">{{ name }}</span></div>
                    <div class="success-btn">
                        <a href="../../index.html">进入首页</a>
                        <a :href="'../../views/user/personal.html?tab1=3&tab2=2&type='+type">去认证</a>
                    </div>
                </div>
            </form>
        </div>
    </div>
	<footer-component></footer-component>
</main>
<script src="../../jsc/common.js"></script>
<script src="../../jsc/component.js"></script>
<script>
	/***
	 * 获取个人信息
	 */
    new Vue({
        el:"#app",
        data    : {
			type : '',
			name : ''
        } ,
        mounted(){
			this.type = parameter.type;
			let d = transFormData({
				user_id:getCookie('user_id'),
				token:getCookie('token')
			});
			axios.post(sysurl+'user/info',d).then(res=>{
				this.name = res.data.data.username
			})
        } ,
        methods : {

        },
        filters : {} ,
    })

</script>
</body>
</html>
